<!doctype html>
<html>
	<head th:replace="/pc/common::head(~{::custom_settings})">
		<th:block th:fragment="custom_settings">
			<title>网吧食品经营监管系统</title>
			<link type="text/css" rel="stylesheet" th:href="@{{css}/pc/main/main.css(css=${css})}">
		</th:block>
	</head>
	<body>
		<div class="wrap-main">
			<!--顶部 开始-->
		    <div class="wrap-top">
		    	<div class="wrap-logo">
		    		<h1>网吧食品经营监管系统</h1>
		    	</div>
		        <div class="wrap-icon">
		        	<ul>
		            	<li>
		            		<i class="fa fa-user"></i>
		            		<ul class="top-erji" th:object="${session.user_session}">
		            			<li>
		            				<lable>用户姓名：</lable>
		            				<span th:text="*{username}"></span>
		            			</li>
		            			<li>
		            				<label>用户电话：</label>
		            				<span th:text="*{userphone != null ? #strings.substring(userphone, 0, 3) + '****' + #strings.substring(userphone, 7, 11) : '未设置'}" style="cursor: pointer;" title="点击设置" onclick="updateUserphone(this);"></span>
		            			</li>
		            			<li>
		            				<lable>登&ensp;录&ensp;名：</lable>
		            				<span th:text="*{loginname}" style="cursor: pointer;" title="点击设置" onclick="updateLoginname(this);"></span>
		            			</li>
		            			<li>
		            				<lable>机构名称：</lable>
		            				<span th:text="*{orgname}"></span>
		            			</li>
		            			<li>
		            				<lable>类&emsp;&emsp;型：</lable>
		            				<span th:text="*{usertype} == 1 ? '管理员' : '普通用户'"></span>
		            			</li>
		            		</ul>
		            	</li>
		                <li>
		                	<i class="fa fa-lock"></i>
		                </li>
		                <li>
		                	<i class="fa fa-power-off"></i>
		                </li>
		            </ul>
		        </div>
		    </div>
		    <!--顶部 结束-->
		    
		    <!--content开始-->
		    <div class="wrap-content">
		        <!--left开始-->
		        <div class="main-left left-full">
		        	<div class="main-title">
		        		<h1>菜单列表</h1>
		        		<span>
		        			<i class="fa fa-list-ul"></i>
		        		</span>
		        	</div>
	                <div class="nav">
	                    <ul id="menu"></ul>
		            </div>
		        </div>
		        <!--left结束-->
		        
		        <!--right开始-->
		        <div class="main-right right-full">
		        	<div class="main-right-url">
		        		<i class="fa fa-home"></i>
		        		<spen>当前位置：</spen>
		        		<span class="main-navigation"></span>
		        	</div>
		            <div class="main-all-right">
		            	<iframe id="iframe-content" name="iframe-content" frameborder="0" border="0" marginwidth="0" marginheight="0" class="iframe-fill"></iframe>
		            </div>
		        </div>
		        <!--right结束-->
		    </div>
		    <!--content结束-->
		</div>
		<script type="text/javascript" th:src="@{{js}/pc/main/main.js(js=${js})}"></script>
	</body>
</html>
